home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / bbs / pad321.zip / BEHAVIOR.CFG < prev    next >
Text File  |  1996-10-20  |  8KB  |  176 lines

  1. // ---------------------------------------------------------------------------
  2. //                              S E T T I N G S
  3. // ---------------------------------------------------------------------------
  4. //
  5. // This section controls the behaviour of padlock.
  6. //
  7.  
  8.         // Boolean settings --------------------------------------------------
  9.         //
  10.         // The following settings may be set to either True or False.
  11.         //
  12.  
  13.         // if num_dupes is set to True, Padlock will not call back a user
  14.         // if his/her phone number is already being used by another user.
  15.  
  16. #define num_dupes                       True
  17.  
  18.         // Sometimes users call and enter an incorrect phone number. Sometimes
  19.         // they pick a phone number out of the blue and sometimes they enter
  20.         // the phone number of someone they don't like. Needless to say, these
  21.         // users never make it into the system, but sometimes the person whose
  22.         // phone number they entered tries to call. The following two keywords
  23.         // tell padlock to allow verifications to a duplicate number if the
  24.         // duplicate number belongs to an unregistered user. In order to do
  25.         // this, though, Padlock needs to be able to identify registered users.
  26.  
  27.         // If set to "True", the following keyword tells Padlock that all
  28.         // registered users have a security level equal or greater to
  29.         // str_new_sec. If set to "False", Padlock will not use the
  30.         // user's security level to determine if the user is registered
  31.         // or not.
  32.  
  33. #define num_dupe_sec                    True
  34.  
  35.         // The following keyword tells Padlock that all registered users
  36.         // will have all of the keys in str_new_keys enabled and all of
  37.         // the keys in str_old_keys disabled. If set to "False", Padlock
  38.         // will not attempt to use the user's keys to identify if the user
  39.         // is registered or not. 
  40.  
  41. #define num_dupe_keys                   False
  42.  
  43.         // If num_ask_password is True, then users will be asked for their
  44.         // password in addition to their code number before they are verified.
  45.         // This option is ignored if your system uses encrypted passwords.
  46.  
  47. #define num_ask_password                True
  48.  
  49.         // If num_ask_codeword is True, then users will be asked for a
  50.         // code number before they are verified. If you use encrypted
  51.         // passwords, you should leave this option set to True. Otherwise,
  52.         // you should have either one or both of num_ask_password and
  53.         // num_ask_codeword set to True. Setting both to False is allowed,
  54.         // but is NOT recommended.
  55.  
  56. #define num_ask_codeword                True
  57.  
  58.         // Each phone number extension can be associated with a city name
  59.         // in PHONE.CTL. If a user is successfully verified and their phone
  60.         // number has a city name associated with it, Padlock can optionally
  61.         // change the name of the user's city to the city name in PHONE.CTL.
  62.         // Setting num_update_city to True will cause Padlock to change the
  63.         // user's city to the name found in PHONE.CTL. If it is set to False,
  64.         // the user's city will never be modified.
  65.  
  66. #define num_update_city                 True
  67.  
  68.         // If the following setting is set to True, Padlock will always hang
  69.         // up before returning to the BBS if an outbound call was made. This
  70.         // setting is intended for sysops who use metered phone lines where
  71.         // every outbound call costs them money.
  72.         //
  73.         // Note: Padlock will always hang up after performing a long distance
  74.         // verification, regardless of this setting. This keyword affects only
  75.         // local calls.
  76.  
  77. #define num_always_hangup               False
  78.  
  79.         // String settings --------------------------------------------------
  80.         //
  81.         // The following settings must be set to a string value, enclosed
  82.         // in double quotes.
  83.  
  84.         // Numeric settings --------------------------------------------------
  85.         //
  86.         // The following settings must be set to a numeric value.
  87.         //
  88.  
  89.         // num_attempts sets the number of times that Padlock will attempt
  90.         // to call the user back before giving up.
  91.  
  92. #define num_attempts                    3
  93.  
  94.         // num_delay specifies the amount of time, in seconds, to wait between
  95.         // each dial attempt.
  96.  
  97. #define num_delay                       10
  98.  
  99.         // ConnectTime is the time (in seconds) to wait for the modem
  100.         // to connect. This should be long enough to give the user
  101.         // a chance to answer the phone and for the modem to connect.
  102.  
  103. #define num_connect_timeout             95
  104.  
  105.         // When the modem reports NO DIAL TONE, the cbv will optionally
  106.         // attempt to dial out one or more additional times. This is useful
  107.         // if another user is attempting to call the BBS while the BBS is 
  108.         // attempting to perform a call back verification. Setting this to
  109.         // 0 will disable this feature.
  110.  
  111. #define num_nodial_retries              1
  112.  
  113.         // num_nodial_retry_delay is the time (in seconds) that Padlock should
  114.         // wait before attempting to dial out again when the modem reports
  115.         // NO DIAL TONE. (see num_nodial_retries, above)
  116.  
  117. #define num_nodial_retry_delay          10
  118.  
  119.         // num_baudrate_check_behaviour specifies the behaviour of Padlock
  120.         // if the user's baudrate is different before and after the 
  121.         // verification. In other words, this controls what Padlock does
  122.         // when the user's modem connects at a different baudrate. Possible
  123.         // values are:
  124.         //
  125.         //      0       Verification success. This setting causes Padlock
  126.         //              to behave exactly as it did in versions prior to
  127.         //              v3.00.
  128.         //      1       Verification fail. This aborts the verification if
  129.         //              the user answers at a different baud rate.
  130.         //      2       Verification success, but hangup before returning to 
  131.         //              BBS.
  132.         //      3       Attempt fail.
  133.  
  134. #define num_baudrate_check_behaviour    2
  135.  
  136.         // Before hanging up to call a user back, Padlock will give the user
  137.         // a code word/number which they must use to get back into the system.
  138.         // The following two settings control the types of code words that
  139.         // Padlock will generate.
  140.  
  141.         // num_codeword_length sets the number of characters or digits in
  142.         // the codeword.
  143.  
  144. #define num_codeword_length             6
  145.  
  146.         // num_time_bonus is the amount of time (in minutes) added to the 
  147.         // user's daily time limit after a successful verification. A
  148.         // value of 0 will cause the user's time limit to remain unchanged.
  149.  
  150. #define num_time_bonus                  5
  151.  
  152.         // Flags -------------------------------------------------------------
  153.         //
  154.         // The following settings are enabled if they are uncommented, and
  155.         // disabled if commented out.
  156.         //
  157.  
  158.         // By default, Padlock uses only digits when generating the code
  159.         // word/codenumber. I've found that this avoids users getting
  160.         // confused and typing in their login password instead of the
  161.         // code number. If you want Padlock to use a code word rather
  162.         // than a code number (containing letters rather than numbers),
  163.         // uncomment the following line. If you decide to use code words,
  164.         // you should probably also change all uses of the words "code
  165.         // number" in the user displays to read "code word".
  166.  
  167. //#define flg_use_codeword
  168.  
  169.         // The following is a setting I use for debugging purposes. Don't
  170.         // uncomment it. It enables the routines that write to the modem
  171.         // even when there is a local call.
  172.  
  173. //#define ALLOW_LOCAL
  174.  
  175.  
  176.